Predloga:Convert/testniprimeri/števila
Videz
- Please expand
Formatted
[uredi kodo]Convert Code | Convert (Live) | Convert (Peskovnik) | Result |
---|---|---|---|
{{convert|3,21|kg|lb}} | 3,21 kg (7,1 lb) | 3,21 kg (7,1 lb) | Exact Match |
{{convert|10.000|kg|lb}} | 10.000 kg (22.000 lb) | 10.000 kg (22.000 lb) | Exact Match |
{{convert|1.300.500,9|kg|lb}} | 1.300.500,9 kg (2.867.114 lb) | 1.300.500,9 kg (2.867.114 lb) | Exact Match |
{{convert|10 300,6|kg|lb}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|-3,21|kg|lb}} | −3,21 kg (−7,1 lb) | −3,21 kg (−7,1 lb) | Exact Match |
{{convert|-10.000|kg|lb}} | −10.000 kg (−22.000 lb) | −10.000 kg (−22.000 lb) | Exact Match |
{{convert|-1.300.500,9|kg|lb}} | −1.300.500,9 kg (−2.867.114 lb) | −1.300.500,9 kg (−2.867.114 lb) | Exact Match |
{{convert|-10 300,6|kg|lb}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
Exponents
[uredi kodo]Convert Code | Convert (Live) | Convert (Peskovnik) | Result |
---|---|---|---|
{{convert|3,21|kg|lb}} | 3,21 kg (7,1 lb) | 3,21 kg (7,1 lb) | Exact Match |
{{convert|10e3|kg|lb}} | 10×103 kg (2,2×104 lb) | 10×103 kg (2,2×104 lb) | Exact Match |
{{convert|10e300|kg|lb}} | 10×10300 kg (2,2×10301 lb) | 10×10300 kg (2,2×10301 lb) | Exact Match |
{{convert|10e320|kg|lb}} | [convert: prekoračeno število] | [convert: prekoračeno število] | Exact Match |
{{convert|10e0|kg|lb}} | 10×100 kg (22 lb) | 10×100 kg (22 lb) | Exact Match |
{{convert|10e-0|kg|lb}} | 10×10−0 kg (22 lb) | 10×10−0 kg (22 lb) | Exact Match |
{{convert|10e-1|kg|lb}} | 10×10−1 kg (2,2 lb) | 10×10−1 kg (2,2 lb) | Exact Match |
{{convert|10e-100|kg|lb}} | [convert: prevelika natančnost] | [convert: prevelika natančnost] | Exact Match |
{{convert|10e-300|kg|lb}} | [convert: prevelika natančnost] | [convert: prevelika natančnost] | Exact Match |
Current markup option: {{convert/E}}
Compare:
- {convert/E|1,2e20|kg|lb}} → Predloga:Convert/E
- {convert/peskovnik|1,2e20|kg|lb}} → 1,2×1020 kg (2,6×1020 lb)
Fractions
[uredi kodo]From documentation:
- 3⁄8 in (9,525 mm) → 3⁄8 in (9,525 mm) or 11+1⁄4 in (28,58 cm) → 11 1⁄4 in (28,58 cm)
- For negative amounts, use two minus signs (hyphens): -11-1/4.
Convert Code | Convert (Live) | Convert (Peskovnik) | Result |
---|---|---|---|
{{convert|3/8|in|mm}} | 3⁄8 in (9,5 mm) | 3⁄8 in (9,5 mm) | Different |
{{convert|0/4|in|mm}} | 0⁄4 in (0 mm) | 0⁄4 in (0 mm) | Different |
{{convert|1/4|in|mm}} | 1⁄4 in (6,4 mm) | 1⁄4 in (6,4 mm) | Different |
{{convert|100+1/385|in|mm}} | 100+1⁄385 in (2.540,1 mm) | 100+1⁄385 in (2.540,1 mm) | Different |
{{convert|1/385|in|mm}} | 1⁄385 in (0,066 mm) | 1⁄385 in (0,066 mm) | Different |
{{convert|1000+1/385|in|mm}} | 1.000+1⁄385 in (25.400,1 mm) | 1.000+1⁄385 in (25.400,1 mm) | Different |
{{convert|0-1/4|in|mm}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|0+1/4|in|mm}} | 0+1⁄4 in (6,4 mm) | 0+1⁄4 in (6,4 mm) | Different |
{{convert|11-9/4|in|mm}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|-4-6/7|in|mm}} | −4+6⁄7 in (−120 mm) | −4+6⁄7 in (−120 mm) | Different |
{{convert|2-0/32|in|mm}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|-11-1/4|in|mm}} | −11+1⁄4 in (−290 mm) | −11+1⁄4 in (−290 mm) | Different |
{{convert|-1/0|in|mm}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|3/8|mm|in}} | 3⁄8 mm (0,015 in) | 3⁄8 mm (0,015 in) | Different |
{{convert|0/4|mm|in}} | 0⁄4 mm (0 in) | 0⁄4 mm (0 in) | Different |
{{convert|1/4|mm|in}} | 1⁄4 mm (0,0098 in) | 1⁄4 mm (0,0098 in) | Different |
{{convert|100+1/385|mm|in}} | 100+1⁄385 mm (3,9371 in) | 100+1⁄385 mm (3,9371 in) | Different |
{{convert|1/385|mm|in}} | 1⁄385 mm (0,00010 in) | 1⁄385 mm (0,00010 in) | Different |
{{convert|1000+1/385|mm|in}} | 1.000+1⁄385 mm (39,3702 in) | 1.000+1⁄385 mm (39,3702 in) | Different |
{{convert|0-1/4|mm|in}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|11-1/4|mm|in}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|-1|mm|m}} | −1 mm (−0,0010 m) | −1 mm (−0,0010 m) | Exact Match |
{{convert|-100|mm|m}} | −100 mm (−0,10 m) | −100 mm (−0,10 m) | Exact Match |
{{convert|-11-9/4|mm|m}} | −11+9⁄4 mm (−0,0133 m) | −11+9⁄4 mm (−0,0133 m) | Different |
{{convert|-1/0|mm|in}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|+1+1/4|mm|m}} | +1+1⁄4 mm (0,0013 m) | +1+1⁄4 mm (0,0013 m) | Different |
{{convert|+1-1/4|mm|m}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|1-1/4|mm|m}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
{{convert|-1-1/4|mm|m}} | −1+1⁄4 mm (−0,0013 m) | −1+1⁄4 mm (−0,0013 m) | Different |
{{convert|-1+1/4|mm|m}} | [convert: neveljavno število] | [convert: neveljavno število] | Exact Match |
This is a quick note on how the module wants a fraction with zero whole number to be presented. Consider:
{{convert/peskovnik|0-1/4|in|mm}}
→ [convert: neveljavno število]{{convert/peskovnik|-0-1/4|in|mm}}
→ −0+1⁄4 in (−6,4 mm){{convert/peskovnik|-1/4|in|mm}}
→ −1⁄4 in (−6,4 mm)
The first example is used in the table above, while the second is how it "should" be done because the two signs are supposed to be the same (+0+1/4
or -0-1/4
). The module takes the attitude that if 0 is given in the input, the 0 should be displayed. The most natural result occurs from omitting the zero (as in the third example). Johnuniq (talk) 06:35, 28 November 2013 (UTC)
- I see. A plain value +1-1⁄4 is calculated to being 3⁄4, so looks OK. A minus operator, not a minus sign. -DePiep (talk) 09:37, 28 November 2013 (UTC)
Engineering notation
[uredi kodo]Engineering notation in {convert} is used as a prefix of the unit.