Jump to content

Template:Hands/numdisp/testcases

From Wikipedia, the free encyclopedia

live code

[edit]
Usage:  {{hands/numdisp|6+3/8}} → 6 38
{{hands/numdisp|-4-1/2}} → −412
{{hands/numdisp|23500}} → 23,500
{{hands/numdisp|2300+643/1250}} → 2,300 6431250
{{hands/numdisp|−7.0}} → −7.0
{{hands/numdisp|14+6/ }} → Expression error: Unexpected < operator

sandbox

[edit]
Usage:  {{hands/numdisp|6+3/8}} → 6 38
{{hands/numdisp|-4-1/2}} → −412
{{hands/numdisp|23500}} → 23,500
{{hands/numdisp|2300+643/1250}} → 2,300 6431250
{{hands/numdisp|&minus;7.0}} → −7.0
{{hands/numdisp|14+6/ }} → Expression error: Unexpected < operator