get the scaling factor for a simple si unit prefix does not currently process compound units (e.g. m/s) or powers (e.g. cm2 s-1)
1 | get_si_prefix_scaling(unit, suffix)
|
unit |
the unit to find the suffix for (e.g. mm, kg, ms, nA, kV) |
suffix |
the expected suffix (e.g. m, g, s, A, V) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.