Module talk:Format price/testcases
Appearance
All 17 tests passed.
Text | Expected | Actual | |
---|---|---|---|
{{#invoke:Format price||123456.78|-2}} | 123,500 | 123,500 | |
{{#invoke:Format price||123456.78|-1}} | 123,460 | 123,460 | |
{{#invoke:Format price||123456.78|0}} | 123,457 | 123,457 | |
{{#invoke:Format price||123456.78|1}} | 123,457 | 123,457 | |
{{#invoke:Format price||123456.78|2}} | 123,457 | 123,457 | |
{{#invoke:Format price||12.78|-2}} | 0 | 0 | |
{{#invoke:Format price||12.78|-1}} | 10 | 10 | |
{{#invoke:Format price||12.78|0}} | 13 | 13 | |
{{#invoke:Format price||12.78|1}} | 13 | 13 | |
{{#invoke:Format price||12.78|2}} | 12.78 | 12.78 | |
{{#invoke:Format price||1234560.78|1}} | 1.23 million | 1.23 million | |
{{#invoke:Format price||12345600.78|2}} | 12.3 million | 12.3 million | |
{{#invoke:Format price||123456000.78|-2}} | 123 million | 123 million | |
{{#invoke:Format price||1234560000.78|-1}} | 1.23 billion | 1.23 billion | |
{{#invoke:Format price||12345600000.78|0}} | 12.3 billion | 12.3 billion | |
{{#invoke:Format price||123456000000.78|0}} | 123 billion | 123 billion | |
{{#invoke:Format price||1234560000000.78|0}} | 1.23 trillion | 1.23 trillion |
Start a discussion about improving the Module:Format price/testcases page
Talk pages are where people discuss how to make content on Wikipedia the best that it can be. You can use this page to start a discussion with others about how to improve the "Module:Format price/testcases" page.