Fix scientific notation showing in pressure description. (#19076)

* Change pressure significant places to 4

* Added 4 significant places for power displays too.
This commit is contained in:
Repo
2023-08-14 04:56:30 +12:00
committed by GitHub
parent 2f2df5c74b
commit 7c419df649

View File

@@ -1,7 +1,7 @@
### Special messages used by internal localizer stuff.
# Used internally by the PRESSURE() function.
zzzz-fmt-pressure = { TOSTRING($divided, "G3") } { $places ->
zzzz-fmt-pressure = { TOSTRING($divided, "G4") } { $places ->
[0] kPa
[1] MPa
[2] GPa
@@ -11,7 +11,7 @@ zzzz-fmt-pressure = { TOSTRING($divided, "G3") } { $places ->
}
# Used internally by the POWERWATTS() function.
zzzz-fmt-power-watts = { TOSTRING($divided, "G3") } { $places ->
zzzz-fmt-power-watts = { TOSTRING($divided, "G4") } { $places ->
[0] W
[1] kW
[2] MW
@@ -23,7 +23,7 @@ zzzz-fmt-power-watts = { TOSTRING($divided, "G3") } { $places ->
# Used internally by the POWERJOULES() function.
# Reminder: 1 joule = 1 watt for 1 second (multiply watts by seconds to get joules).
# Therefore 1 kilowatt-hour is equal to 3,600,000 joules (3.6MJ)
zzzz-fmt-power-joules = { TOSTRING($divided, "G3") } { $places ->
zzzz-fmt-power-joules = { TOSTRING($divided, "G4") } { $places ->
[0] J
[1] kJ
[2] MJ