|
Forum Index : Microcontroller and PC projects : FORMAT$ Expansion?
| Author | Message | ||||
| toml_12953 Guru Joined: 13/02/2015 Location: United StatesPosts: 480 |
In the benchmark programs, I changed the output line to print format$(34/t*loops,"Index:% 4.2f") This gives a display with only two decimal places. Are there any plans to expand the capability of FORMAT$ to allow digit separators such as commas, periods or spaces? 1 000 000 or 1,000,000 or 1.000.000 is easier to read than 1000000 IMHO. Edited 2021-09-03 20:38 by toml_12953 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10610 |
No: format$ uses the C standard format characters see here and that isn't part of C |
||||
| JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4147 |
Just DIY :) John |
||||
| CaptainBoing Guru Joined: 07/09/2016 Location: United KingdomPosts: 2171 |
Consider this for sci-notation etc. Edited 2021-09-03 21:23 by CaptainBoing |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |