kytschBASIC

Put down that phone!
Please view me on real computer.

TWODP
DECIMAL NUMBER

Rounds a decimal number to two decimal places.

Example

DEF test#=TWODP(1337.737)

PRINT test#

LINE BREAK

REM or do it on the PRINT

LET test#=TWODP(1337.337)

PRINT TWODP(test#)

Output

1337.74
1337.34

See also