nuttx-apps/examples/bastest/tests/test42.bas

10 lines
141 B
QBasic
Raw Normal View History

10 print 4.7\3
20 print -2.3\1
30 print int(-2.3)
40 print int(2.3)
50 print fix(-2.3)
60 print fix(2.3)
70 print fp(-2.3)
80 print fp(2.3)