Sasin (Crystal version)

This is a Crystal shard that implements a converter to an universal sasin unit.

Installation

Library

Add to shard.yml dependencies:

dependencies:
  sasin:
    gitlab: Phitherek_/sasin-cr
    version: ~> 0.1.0

Command line converter

Usage

Converter class

require "sasin"

Sasin::Converter.convert(input) # Returns value in sasin as Float64, input can be String, Int, Float or BigDecimal

Converter app

Development

Contributing

  1. Fork it (https://gitlab.com/Phitherek_/sasin-cr/-/forks/new)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Merge Request

Contributors