NDepend.API Documentation
ToMoney(Nullable<AnnualInterest>) Method
NDepend.TechnicalDebt Namespace > IDebtFormatter Interface > ToMoney Method : ToMoney(Nullable<AnnualInterest>) Method
The nullable annual interest to evaluate as money
Estimate an amount of money from a annualInterest.
Syntax

Parameters

annualInterest
The nullable annual interest to evaluate as money

Return Value

A double value that represents an amount of money
Remarks
This IDebtFormatter object has been created from a DebtSettings object.
The amount of money is expressed in this.DebtSettings.DebtSettings.Currency and is computed from the setting this.DebtSettings.DebtSettings.MoneyPerManHour.
The cents are not shown if the amount of money is greater or equals to 50.
If annualInterest is null this method returns null.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IDebtFormatter Interface
IDebtFormatter Members
Overload List