Keno / SIUnits.jl

Efficient unit-checked computation
Other
70 stars 26 forks source link

Allow printing of superscript decimal #81

Open jiahao opened 8 years ago

jiahao commented 8 years ago

Unicode has no superscript decimal character. Instead, it is faked using U+FF65, HALFWIDTH KATAKANA MIDDLE DOT.

Also, improves error handling in superscript()

Example of usage:

julia> SIUnits.SIQuantity{Float64,zeros(8)...,0.4}(1.0)
1.0 sr⁰・⁴