Problem with Calculation

Hey

Sorry if this seems a silly or simple but i am quite new to flash

I am trying to perform a simple calculation. However when ever i try to display in a dynamic text box i get NaN.


[INDENT]lambdas = rk / lp;
test_txt.text = lambdas.toString();
[/INDENT]

lambdas, rk and lp are all number variables ( var lambdas:Number; etc)
rk and lp are input text fields that have been converted to numbers

specifically, the numbers i am rying to input are rk = 0.05 and lp = 0.2

any help would been appreciated
thanks :slight_smile: