round a number 1.232344432 to 1.23 I thought float would do it but it still displays 1.232344432. I would like to just display 1.23. Not sure how?
Thanks
rounding a number 1.232344432 to 1.23
Moderator: General Moderators
-
mccommunity
- Forum Commoner
- Posts: 62
- Joined: Mon Oct 07, 2002 8:55 am
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
Code: Select all
round(1.232344432, 2)