Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Format new double formatter(s)
Format new double formatter(s) [message #57483] Sun, 05 September 2021 19:16
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Format("%m", 1234567.89) = 1.23457e+06
Format("%M", 1234567.89) = 1.23457E+06
Format("%,m", 1234567.89) = 1,23457e+06
Format("%+m", 1234567.89) = +1.23457e+06
Format("% m", 1234567.89) =  1.23457e+06
Format("%.10m", 1234567.89) = 1234567.89
Format("%.10!m", 1234567.89) = 1234567.890
Format("%.6m", 1234567.89) = 1.23457e+06
Format("%.7m", 1234567.89) = 1234568
Format("%.7#m", 1234567) = 1234567.
Format("%m", -0.0) = -0
Format("%_m", -0.0) = 0
Format("%m", 1e9) = 1e+09
Format("%^m", 1e9) = 1e09
Format("%&m", 1e9) = 1e+9
Format("%&^m", 1e9) = 1e9
Format("%m", log(-1)) = -nan
Format("%?m", log(-1)) = 
Format("%.5mf", 1234567.89) = 1234567.89000
Format("%.2me", 1234567.89) = 1.23e+06
Format("%.2mE", 1234567.89) = 1.23E+06
Previous Topic: integer->String conversion optimised
Next Topic: text<->double conversions refactored
Goto Forum:
  


Current Time: Fri Apr 19 02:35:34 CEST 2024

Total time taken to generate the page: 0.03240 seconds