Peace to all,

this might a bit silly but what is the best way to format float values like
26.6601666666666 into having two digits AND/OR  with rounding them?

e.g. 

26.6601666666666 becomes 26.66 shortened
26.6601666666666 becomes 26.67 rounded

cheers!





--
View this message in context: 
http://gambas.8142.n7.nabble.com/Best-ways-to-format-float-values-tp59733.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to