Plantilia:Hands/numdisp/frac1
2,000 {{{3}}}⁄{{{4}}}
Dokumentasion ti plantilia
Daytoy dokumentasion a subpanid ti plantilia ket saan pay wenno agdama pay laeng a maipatpatarus. No kayat ti tumulong nga agipatarus kadagiti kastoy a panid, kitaen ti Kategoria:Dagiti subpanid ti dokumentasion a nasken a maipatarus. |
The Plantilia:Hands/numdisp/frac1 formats a fraction (or mixed number) for positive values, with parameters as follows:
- parameter 1 - blank, used by {Hands/numdisp/frac}
- parameter 2 - the whole number portion (if any)
- parameter 3 - numerator of fraction portion
- parameter 4 - denominator of fraction portion
All 4 of the parameters are required, although {2} can have an empty/blank value.
Usage
urnosen- {{hands/numdisp/frac1| |2000|12|50}} → 2,000 12⁄50
- {{hands/numdisp/frac1| ||7|8}} → 7⁄8
For negative values, the related Plantilia:Hands/numdisp/frac-1 is used instead, to format data with unicode &minus.
Kitaen pay
urnosen- Dagiti baw-ing − no adda, dagiti sabali a nagan daytoy a plantilia a mabalin a mausar