Header menu logo FSharp.Finance.Personal

Percent Module

utility functions for percent values

Functions and values

Function or value Description

Percent.fromDecimal m

Full Usage: Percent.fromDecimal m

Parameters:
    m : decimal

Returns: Percent

create a percent value from a decimal, e.g. 0.5 -> 50%

m : decimal
Returns: Percent

Percent.round places arg2

Full Usage: Percent.round places arg2

Parameters:
Returns: Percent

round a percent value to two decimal places

places : int
arg1 : Percent
Returns: Percent

Percent.toDecimal arg1

Full Usage: Percent.toDecimal arg1

Parameters:
Returns: decimal

convert a percent value to a decimal, e.g. 50% -> 0.5

arg0 : Percent
Returns: decimal

Type something to start searching.