Percentage width support #95
@metakirby5, I made the requested changes, the
:echo ceil(66.66) " => 67.0 :echo float2nr(ceil(66.66)) " => 67
Doing just a
:echo float2nr(66.66) " => 66
Ready for additional feedback :)
These kinds of things with
When I tested the precision loss on a 127 column wide terminal the difference seemed negligible. You seem to have found a more interesting case though, nice!
I restored precision according to your specs. I inverted the ternary since most people will provide a sane hardcoded positive float.
Think it's ready for merging?