A temporary helper library to avoid newer dart-sass versions printing warnings when compiling Origami.
To use this library, import it via @import '@financial-times/math';
.
After importing the library, you will have access to all the functions defined in mathsass@0.10.1 and the below function as well as:
Returns the result of dividing the first number by the second number.
This behaves in the same way as the deprecated /
operator in sass.
@import '@financial-times/math';
@debug div(10, 2); // 5
This software is published by the Financial Times under the MIT licence.