Number entries reset to 0.0 automatically.

Hi, There,

I am trying to let the users to enter a number in a text box. My text box definition looks as follows

DItem_TextRsc TEXTID_myNumber  = 
{
NOCMD, LCMD, NOSYNONYM, NOHELP, LHELPCMD, NOHOOK, NOARG,
20,
"%0.2f", "%0.2f", "", "", NOMASK, TEXT_NOCONCAT,
"Road from:",
"myNumber"
};
There are not hook function associated with it. However, when I enter a number, say 2.5, when I tab out of the text box, there display automatically change to 0.0. I am totally confuse with this behaviou.
What did I miss here?
Any suggestion will be greatly appreciated.
Ken