Skip to content
Snippets Groups Projects
Commit 8d5a3314 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Added comment on unit abbreviation.

parent 48b88ad6
No related branches found
No related tags found
1 merge request!2386Resolve "Add unit support for percentages"
Pipeline #243872 failed
......@@ -84,6 +84,7 @@ export class Unit {
let nDen = 0
function getName(unit) {
// For now, we forcibly abbreviate the base dimensionless unit
if (unit.name === DIMENSIONLESS) return ''
return abbreviate
? unitToAbbreviationMap?.[unit.name] || unit.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment