UFixedNxM
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / arc4 / UFixedNxM
Class: UFixedNxM<N, M>
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:186
A fixed bit size, fixed decimal unsigned value
Extends
Type Parameters
• N extends BitSize
• M extends number
Constructors
new UFixedNxM()
new UFixedNxM<
N,M>(v):UFixedNxM<N,M>
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:194
Create a new UFixedNxM value
Parameters
v
`${number}.${number}`
A string representing the integer and fractional portion of the number
Returns
UFixedNxM<N, M>
Overrides
Accessors
bytes
Get Signature
get bytes():
bytes
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:97
Retrieve the encoded bytes for this type
Returns
Inherited from
native
Get Signature
get native():
NativeForArc4Int<N>
Defined in: packages/algo-ts/src/arc4/encoded-types.ts:201
Retrieve the decoded native uint64 or biguint where the returned integer represents the fixed decimal value * (10 ^ M)