string-format: String.format/formatted/printf cheat sheet module (specifier anatomy, rounding vs C printf, locales, Indian lakh/crore grouping Formatter cannot do, format exceptions, %t dates, concat cost), 11 contract tests
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7Sr2zcoRD2watXv1G
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
C printf %.2f of 2.675 : 2.67
|
||||
C printf %.1f of 0.35 : 0.3
|
||||
C printf %.2f of 1.005 : 1.00
|
||||
C printf %.2f of 0.125 : 0.12
|
||||
Reference in New Issue
Block a user