mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Extends the metric prefixes. (#81739)
## About The Pull Request Extends the metric prefixes some things will display. Adds the quecto, ronto, yocto, zepto. atto, exa, zetta, yotta, ronna and quetta prefixes. ## Why It's Good For The Game Makes it easier to read the numbers when someone manages to break atmos or whatever. ## Changelog 🆑 qol: Extended the metric prefixes. /🆑
This commit is contained in:
@@ -12,4 +12,4 @@
|
||||
TEST_ASSERT_EQUAL(siunit_pressure(999.9e3), "999.9 MPa" , "")
|
||||
TEST_ASSERT_EQUAL(siunit_pressure(999.9e3, 0), "1 GPa", "")
|
||||
TEST_ASSERT_EQUAL(siunit_pressure(1e6), "1 GPa", "")
|
||||
TEST_ASSERT_EQUAL(siunit_pressure(3e17), "300000 PPa", "")
|
||||
TEST_ASSERT_EQUAL(siunit_pressure(3e32), "300000 QPa", "")
|
||||
|
||||
Reference in New Issue
Block a user