Re: Need help with units library

2017-08-18 Thread Joakim via Digitalmars-d-learn
On Friday, 18 August 2017 at 13:21:06 UTC, alexander1974 wrote: I want to write a library for working with units (lengths, weights, ...). It should allow maths and converting with/between different units (cm to mm, angstrom to meter, ...). [...] I have no opinion on your layout, but have

Need help with units library

2017-08-18 Thread alexander1974 via Digitalmars-d-learn
I want to write a library for working with units (lengths, weights, ...). It should allow maths and converting with/between different units (cm to mm, angstrom to meter, ...). The SI Sytem consists of the base units for length (meter), mass (kg), time (second) ,... and the prefixes like yotta