Actions

Template

Difference between revisions of "MapWeight"

From P6 Spheres

(Created page with "<noinclude>Accepts Float. Returns String where float has been converted to a nice weight in pounds: Example: <nowiki>{{MapWeight|-}}</nowiki>: {{MapWeight|-}} Example: <now...")
 
Line 4: Line 4:
  
 
Example: <nowiki>{{MapWeight|-}}</nowiki>: {{MapWeight|-}}
 
Example: <nowiki>{{MapWeight|-}}</nowiki>: {{MapWeight|-}}
 +
 +
Example: <nowiki>{{MapWeight|0.0}}</nowiki>: {{MapWeight|0.0}}
  
 
Example: <nowiki>{{MapWeight|0.03}}</nowiki>: {{MapWeight|0.03}}
 
Example: <nowiki>{{MapWeight|0.03}}</nowiki>: {{MapWeight|0.03}}

Revision as of 22:42, 14 March 2020

Accepts Float.

Returns String where float has been converted to a nice weight in pounds:

Example: {{MapWeight|-}}: -

Example: {{MapWeight|0.0}}: 0.0 lbs.

Example: {{MapWeight|0.03}}: 0.03 lbs.

Example: {{MapWeight|1.0}}: 1 lb.

Example: {{MapWeight|5.0}}: 5 lbs.

Example: {{MapWeight|2500.0}}: 2,500 lbs.

Note: {{MapWeight|1.5}}: 2 lbs.