Page->IsValid) { $rate = floatval($this->currencyRate->Text); $dollars = floatval($this->dollars->Text); $this->total->Text = $rate * $dollars; } } } ?>