oc-number

kotlin number extension library

License

License

ISC
GroupId

GroupId

com.github.oc-soft
ArtifactId

ArtifactId

oc-number
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

pom
Description

Description

oc-number
kotlin number extension library
Project URL

Project URL

https://github.com/oc-soft/number-extension-kt
Project Organization

Project Organization

oc-soft
Source Code Management

Source Code Management

https://github.com/oc-soft/number-extension-kt#Number-extension-extension-for-kotlin

Download oc-number

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.oc-soft/oc-number/ -->
<dependency>
    <groupId>com.github.oc-soft</groupId>
    <artifactId>oc-number</artifactId>
    <version>0.1.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.oc-soft/oc-number/
implementation 'com.github.oc-soft:oc-number:0.1.1'
// https://jarcasting.com/artifacts/com.github.oc-soft/oc-number/
implementation ("com.github.oc-soft:oc-number:0.1.1")
'com.github.oc-soft:oc-number:pom:0.1.1'
<dependency org="com.github.oc-soft" name="oc-number" rev="0.1.1">
  <artifact name="oc-number" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.oc-soft', module='oc-number', version='0.1.1')
)
libraryDependencies += "com.github.oc-soft" % "oc-number" % "0.1.1"
[com.github.oc-soft/oc-number "0.1.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Number extersion for kotlin

This is very simple number extension library for kotlin.

Stringify with width

You can control string width on intetger string output.

import net.ocsoft.toString
fun main() {
    println(123.toString(16, 5))
}

You get the followings.

0007b
com.github.oc-soft

Versions

Version
0.1.1