If the date of your forex is in the future, by default forex() returns the rate of lastForex(). If the currency is unknown, by default forex() returns the initial price.
If the date of your forex is in the future, by default forex() returns the rate of lastForex().
If the currency is unknown, by default forex() returns the initial price.