RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RESOLVED] Limiting decimal places in a float

Started by modern algebra, June 05, 2007, 06:12:15 AM

0 Members and 1 Guest are viewing this topic.

modern algebra

Is there a way to limit the decimal places on a float?

I.e., if I have a float 6.6666666667, can I get rid of some of the decimals and make it just 6.67?

Zeriab


modern algebra

Thank you  ;D

I don't why I didn't think of that.