Question #316331

How do I make a float just 2 decimal point?


Expert's answer

format("%. 2f", 1.23456)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS