Skip to content

Modern Finance RateNominalFromEffective

Paul Squires edited this page Oct 19, 2026 · 4 revisions

Home › Finance › Finance › RateNominalFromEffective

RateNominalFromEffective

Returns the quoted annual rate that earns a given effective yearly return.

Syntax

RateNominalFromEffective( effectiveAnnual, compounding )

Examples

#import "std/money"
using money

'' The inverse of RateEffectiveFromNominal: the rate you would have to
'' quote to earn a given effective return.  Double kernel -- a root.
dim as Decimal eff = DecimalParse( "0.0603850625" ).Value( )

print RateNominalFromEffective( eff, COMPOUND_SEMIANNUAL ).Value( ).ToStringFixed( 6 )  '' 0.059500

'' Round trip: nominal -> effective -> nominal recovers the input.
dim as Decimal j = DecimalParse( "0.0595" ).Value( )
dim as Decimal e2 = RateEffectiveFromNominal( j, COMPOUND_MONTHLY ).Value( )
print RateNominalFromEffective( e2, COMPOUND_MONTHLY ).Value( ).Round( 12 ).ToString( )

Library: Finance
Category: Finance
Documented under: Nothing Becomes A Keyword
Source: pkg/std/money/fincore.tiko in the tiko repository.

Clone this wiki locally