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.
 
 
straightway 61ed9cc50a Updated to gradle 5.6.4. 1 year ago
gradle/wrapper Updated to gradle 5.6.4. 1 year ago
src Fixed ktlin issues. 1 year ago
.gitattributes Initially moved "numbers" module to own repository. 3 years ago
.gitignore Adapted .gitignore to ignore idea project stuff. 3 years ago
Coding.md Replaced GitHub by codeberg. 1 year ago
LICENSE Added license and coding style 3 years ago
README.md Replaced GitHub by codeberg. 1 year ago
build.gradle Fixed ktlint issues. 1 year ago
detekt-config.yml Fixed detekt configuration and fixed or suppressed issues. 2 years ago
gradle.properties Initially moved "numbers" module to own repository. 3 years ago
gradlew Initially moved "numbers" module to own repository. 3 years ago
gradlew.bat Initially moved "numbers" module to own repository. 3 years ago
projectDependencies.gradle Changed copyright in header: removed GitHub 1 year ago
projectSpecific.gradle Changed copyright in header: removed GitHub 1 year ago
settings.gradle Changed copyright in header: removed GitHub 1 year ago
version.gradle Changed copyright in header: removed GitHub 1 year ago

README.md

numbers

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.

Status

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 "https://pages.codeberg.org/straightway/repo" }
}

Then you can simply configure in your dependencies:

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