The desired value for the amount, specified as smallest divisor.
Optional
decimals: numberThe desired number of decimal digits.
An asset amount with the specified value, and a decimal point added to it if needed. In this function, 1 is always the smallest non-zero amount that can be represented. If you want to convert user input to amounts, you'll probably want to use createAmount instead.
createAmountFromBalance(1, 2) // returns 0.01
createAmountFromBalance(100, 2) // returns 1.00
Returns a new asset amount.