Skip to content

Releases: alisinabh/Numero

0.4.0

30 Aug 02:49
7537fb1
Compare
Choose a tag to compare

Changes

  • Fix typespec errors.
  • Minimum supported elixir is now 1.6 and above.
  • Updated ex_doc.

Full Changelog: v0.3.1...v0.4.0

v0.3.1

29 Aug 21:11
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

V0.3.0

08 Oct 10:21
Compare
Choose a tag to compare

In this version removing non digits in a string is much faster thanks to suggests from people in elixir forum.

And there are two slight changes in API

  1. Exceptions in remove non digits are now accepting char arrays instead of array of char arrays (which was a mistake of mine) e.g.: ~c[123] instead of ['1', '2', '3']
  2. function is_digit_only? is changes to digit_only? (although is_digit_only? exists just for a little backward compatibility.

0.1.2

06 Jun 23:02
Compare
Choose a tag to compare

normalize_as_number! function added.

this function (with !) will return the number on success and an exception on failure.

Example:

# with !
result = Numero.normalize_as_number!("123.45")
# result = 123.45

# without !
result = Numero.normalize_as_number("123.45")
# result = {:ok, 123.45}

0.1.0

01 Jun 00:24
Compare
Choose a tag to compare

Numero basic functions

First release