How do I make a decimal into a percent?
Root / Programming Questions / [.]
HTV04Created:
It's hard to understand what you're talking about, but I guess you're talking about the # type (called "floating-point numbers", "real numbers", or simply "floats") and the % type (called "integers" or "ints").
I also assume you're talking about SB4, where the standard way to convert between these two types is with the INT and FLOAT functions. FLOOR actually returns a float, so if you really need the type to be an integer, you'll want to use INT instead.
Multiply a decimal by 100 and round it?