Fix units: Fix hertz scale point (#71746)

fix(units): fix hertz scale point
This commit is contained in:
Ihor Yeromin 2023-07-17 15:29:46 +02:00 committed by GitHub
parent 722cf0ab68
commit 061ccb13d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -344,9 +344,9 @@ export const getCategories = (): ValueFormatCategory[] => [
formats: [
{ name: 'Revolutions per minute (rpm)', id: 'rotrpm', fn: toFixedUnit('rpm') },
{ name: 'Hertz (Hz)', id: 'rothz', fn: SIPrefix('Hz') },
{ name: 'Kilohertz (kHz)', id: 'rotkhz', fn: SIPrefix('kHz', 3) },
{ name: 'Megahertz (MHz)', id: 'rotmhz', fn: SIPrefix('MHz', 4) },
{ name: 'Gigahertz (GHz)', id: 'rotghz', fn: SIPrefix('GHz', 5) },
{ name: 'Kilohertz (kHz)', id: 'rotkhz', fn: SIPrefix('kHz', 1) },
{ name: 'Megahertz (MHz)', id: 'rotmhz', fn: SIPrefix('MHz', 2) },
{ name: 'Gigahertz (GHz)', id: 'rotghz', fn: SIPrefix('GHz', 3) },
{ name: 'Radians per second (rad/s)', id: 'rotrads', fn: toFixedUnit('rad/s') },
{ name: 'Degrees per second (°/s)', id: 'rotdegs', fn: toFixedUnit('°/s') },
],