/*
*******************************************************************
* JE Consulting Resource Centre *
* *
* (C) Copyright JE Consulting 2010. All rights reserved. *
* *
*******************************************************************
*/
function StripSpecialCh($text)
{
$text=strtolower($text);
$code_entities_match = array(" ","!","&","*","£","$","%",",","+","\"","'","_","=");
$code_entities_replace = array('','','','','','','','','','','','','');
$text = str_replace($code_entities_match, $code_entities_replace, $text);
return $text;
}
function IsNumeric($str)
{
if(is_numeric($str))
return true;
return false;
}
function ValidateNumber(&$number)
{
$code_entities_match = array(" ","!","&","*","$","%",",","+","\"","'","_","=","£");
$code_entities_replace = array('','','','','','','','','','','','','');
$number = str_replace($code_entities_match, $code_entities_replace, $number);
if ($number == "£")
return false;
if(strlen($number) <= 0)
return false;
if(!IsNumeric($number))
return false;
return true;
}
?>
Tax Calculators
Savings Calculator
Please ensure all figures are entered as complete numbers, with no commas or spaces.
SAVINGS
CALCULATOR (TARGET AMOUNT)
*Starting
balance (£)
* Monthly
deposit amount (£)
*Average
annual interest (%)
* Estimated
average inflation (%)
* Target
amount to save (£)
Target
will be reached in
Savings value after
inflation
Use
this form to calculate how many years it will take you
to save a target amount. The Bank of England target for
inflation is 2%. Required fields are marked with a (*).