I have a question about controlling the output in Java.
How do you round up to 2nd decimal point in java?
For an example:
I have an answer of 11001.59914874754.....
I need an answer of 11001.60 because this is in dollar.
Any helps are appreciated. Thanks
How do you round up to 2nd decimal point in java?
For an example:
I have an answer of 11001.59914874754.....
I need an answer of 11001.60 because this is in dollar.
Any helps are appreciated. Thanks