[][src]Module sp_arithmetic::per_things

Structs

PerU16

A fixed point representation of a number in the range [0, 1].

Perbill

A fixed point representation of a number in the range [0, 1].

Percent

A fixed point representation of a number in the range [0, 1].

Permill

A fixed point representation of a number in the range [0, 1].

Perquintill

A fixed point representation of a number in the range [0, 1].

Traits

PerThing

Something that implements a fixed point ration with an arbitrary granularity X, as parts per X.

Type Definitions

InnerOf

Get the inner type of a PerThing.

UpperOf

Get the upper type of a PerThing.