You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kai Bösefeldt ebbe6d3244 #20 Updated license headers. 6 months ago
src #20 Updated license headers. 6 months ago Added readme files. 1 year ago
build.gradle.kts Tunes code coverage. 1 year ago
config.gradle.kts Activated code coverage and changed way to exclude items from special file name to 'Generated' annotation. 1 year ago


This kotlin library provides extension methods and operators for calculation with mixed number types without the necessity to cast. As result type, always the 'larger' type is used, e.g. multiplying an Int with a Float results in a Float.


This software is in pre-release state. Every aspect of it may change without announcement or notification or downward compatibility. As soon as version 1.0 is reached, all subsequent changes for sub versions will be downward compatible. Breaking changes will then only occur with a new major version with according deprecation marking.

Include in gradle builds

To include this library in a gradle build, add

repositories {
    maven { url "" }

Then you can simply configure in your dependencies:

dependencies {
    compile "straightway:numbers:<version>"