Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Guest Book : MMBasic
Author | Message | ||||
RicM Regular Member Joined: 05/02/2022 Location: AustraliaPosts: 51 |
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: 844 |
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 |
||||
Print this page |