![]() |
Forum Index : Guest Book : MMBasic
Author | Message | ||||
RicM Regular Member ![]() Joined: 05/02/2022 Location: AustraliaPosts: 52 |
How do you keep part of the number after the decimal point I was thinking of using the FUNCTION Command. Any ideas Kind Regards RicM |
||||
disco4now![]() Guru ![]() Joined: 18/12/2014 Location: AustraliaPosts: 967 |
Hi RicM You should probably post MMbasic questions in the Microcontroller and PC projects section. Also say which MMBasic system you use (e.g. CMM2 ,Picomite )as their maybe some differences. see the STR$ function in the manual. STR$( number, m, n ) where n is number of decimal places If it is a picomite the FORMAT$ function has some options as well Regards Gerry Edited 2022-02-06 14:36 by disco4now Latest F4 Latest H7 FotS |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |