Comments (3)
@thegedge thanks for the quick response! I have already started on weights, so I will continue with non si weights (Tonne, Newton etc) and save milligrams and the like for after #88 is completed.
Is that ok?
from measured.
Hi @thegedge I wanted to help with this in the Measured::Weight
units. What units should be added? Newtons, Tonnes, Slugs, Short Tons, Milligrams?
Also, for conversions, are we assuming they will all be done close to the surface of the earth?
I was going to style this like #85 if you needed help on this.
from measured.
Hey, @kirinrastogi. Thanks for the interest in helping out!
I didn't have any specifics as to which units to include, but I think "as many commonly used lengths and weights" would be reasonable guideline, which we can hopefully grab from Wikipedia or some other site that does a good job of enumerating these units. We can always add more later :)
#85 does make a good template for adding in new units. We'll merge that PR, so no worries about kilometres and miles.
Before working on this I think it would be good to do #88 first, which will make it far easier to build unit systems with units that allow SI prefixes.
from measured.
Related Issues (20)
- Forwardable is Never required HOT 1
- First Conversion Very Slow HOT 6
- Documentation Example for Persisting Units HOT 6
- Add a CHANGELOG file HOT 2
- Custom unit alias regression in 2.5.1 HOT 4
- Defect: Unexpected behaviour when building with conflicting conversions HOT 4
- Unexpected formatting of formatted output for converted weight
- Add an alias to an existing unit HOT 4
- Better serialization and deserialization HOT 2
- Do not allow arithmetic with non-Measured types HOT 8
- Make Conversion immutable HOT 3
- Implement `Measured::Temperature` HOT 4
- Remove base unit HOT 3
- Use Rational instead of BigDecimal? HOT 4
- Is there anyway to dynamically add a unit? HOT 1
- Support multiplication of units
- Make adding units with SI prefixes simpler HOT 3
- How to implement Measured::Area and Measured::Volume? HOT 9
- Rounding and measured HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from measured.