I need ur help for floating :)
Blitz3D Forums/Blitz3D Beginners Area/I need ur help for floating :)
| ||
Hi all, Am looking for an little rutime, but i have float like : 89.8899887 and i wan to have only 89.88 If someone have an function for kick the extra... Many thanks Stephanie |
| ||
hmm. How's this:Print floater#(89.8899887,2) Function floater#(Flot#,num) num=10^num Return Float(Floor(Flot#*num))/num End Function |
| ||
Woot many thanks BOT ! Kiss ya Stephanie |