TGNumberEntry with leading decimal point

When I try to enter a value of .5 into a TGNumberEntry, it uses the value of 0. If I enter the leading 0 (ie. 0.5), then I get the proper 0.5 value.

(This is reproducible with the Number Entry Test of tutorials/guitest.C .

Is there a way to get TGNumberEntry to accept a value without the leading 0?

Thanks very much,
buddy

Hi,

I’ll check and let you know.

Cheers, Bertrand.

Hi,

This is fixed in svn trunk. Many thanks for reporting this issue.
:exclamation: Note this was working properly for kNESReal number entry format, and failing for kNESRealOne, kNESRealTwo, kNESRealThree, and kNESRealFour

Cheers, Bertrand.