Numeric 2.0.0

Numeric 2.0.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2015
SPMSupports SPM

Maintained by Klaas Pieter Annema.



Numeric 2.0.0

Numeric

Numeric extensions for Swift

Time

// Tomorrow
1.day.fromNow

// Or yesterday
1.day.ago

Bytes

1.byte
2.bytes

1.kilobyte
2.kilobytes

1.megabyte
2.megabytes

1.gigabyte
2.gigabytes

1.terabyte
2.terabytes

1.exabyte
2.exabytes

1.terabyte + 1000.gigabytes
1.gigabyte + 200.megabytes