Real type
The real type is used to represent real numbers (decimal numbers). The mobile devices do not have hardware support for real numbers, so MIDletPascal uses software emulation instead. The software emulation is slow, so you should be aware that extensive mathematical applications will run very slow on mobile devices. Use of real numbers in a MIDlet will also increase the size of MIDlet for approximately 5 KB.
The following operators can be used on real types:
MIDletPascal also provides about 20 functions for working with real numbers and a predefined constant 'pi'.