How to use dimensionless amount in jscience?

192 views Asked by At

In the API docs it's said that the Amount class has method valueOf.

But I don't know how to use it in.

I need to create Amount of some dimensionless quantity. Like, you know, 5 apples.

Amount.valueOf(100, new Unit<Dimensionless>()
0

There are 0 answers