js-quantities icon indicating copy to clipboard operation
js-quantities copied to clipboard

JavaScript library for quantity calculation and unit conversion

Results 59 js-quantities issues
Sort by recently updated
recently updated
newest added

Hi, The scalar and baseScalar properties aren't documented in the README.md, though there's a mention in a toFloat exception: ``` > q('10km').toFloat(); Error: Can't convert to Float unless unitless. Use...

doc

It would be very useful for those of us doing client-side development if js-quantities could be split into a number of smaller CommonJS modules, so if only a few features...

enhancement

Is there a plan to support nonlinear units? One example is gauge (AWG), which is a length (diameter) with a conversion: d (mm) = 0.127*92^((36-n)/39)

Great library! I'm just not sure if it's possible to get the full name of the unit from looking at the docs and code. e.g. I want to turn "m"...

enhancement

Could help with errors like issue #4.

doc

Why does this conversion output 44 g? var qtyunit = '3 tb'; qtyunit = Qty(qtyunit); qtyunit = qtyunit.to('ml').toPrec('ml').toString();

http://en.wikipedia.org/wiki/Standard_Litres_Per_Minute Can be implemented by adding standard litre as an alias to litre. Basically useful for printing, to indicate it being standard litres.

See https://github.com/olbrich/ruby-units/issues/35

enhancement

Can we get a converter for milliradian for Angle?