Sanjeev Kumar Pandit
Sanjeev Kumar Pandit
@smirzaei The above `precision` function works for $12.00 -> $12, but does not seem to work for $12.435 -> $12.435(output result = $12.44). It always returns value with 2 decimal...
@smirzaei I got your point. So, basically we have to pre-define the precision value else, there are always two decimal points even if the input(not having 0 as decimal values)...
@smirzaei Okay. But, the thing is that the output gives exactly 2 decimal points even if the input contains more than 2 decimal points. Is this okay or the output...
@smirzaei Got it. Thanks for clearing this out for me.
I think this is a very important improvement, because nested parameters/arrays are used quite often. I came across this problem recently. I thought it was a bug before, but later...