You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose a new configuration option for Less.js where we can specify a significant digit to round to when mathematical operations are performed in Less. I've found that the Less calculations are often too precise and long and I'd prefer to round them to the hundredths or thousandths place.
Essentially, I want to be able to configure a global round() function for all of my mathematical operations in Less so I don't have to use the function over and over. If there is a way to do this, I can't find it in documentation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to propose a new configuration option for Less.js where we can specify a significant digit to round to when mathematical operations are performed in Less. I've found that the Less calculations are often too precise and long and I'd prefer to round them to the hundredths or thousandths place.
Essentially, I want to be able to configure a global
round()
function for all of my mathematical operations in Less so I don't have to use the function over and over. If there is a way to do this, I can't find it in documentation.Beta Was this translation helpful? Give feedback.
All reactions