View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003275||JEDI VCL||00 JVCL Components||public||2005-10-18 11:04||2005-10-21 06:37|
|Target Version||Fixed in Version||3.10|
|Summary||0003275: JvValidateEdit: EDivByZero when DisplayFormat = dfHex|
|Description||To reproduce, set DisplayFormat := dfHex, then AsInteger := 999999999;|
I propose replacing the contents of BaseToInt with JvJCLUtils.Numb2Dec and IntToBase with JvJCLUtils.Dec2Numb, as this fixes the problem.
N.B. I don't think BaseToInt & IntToBase should be removed altogether, as we may want to replace their contents with Int64 versions of Numb2Dec & Dec2Numb, which don't exist in the JCL (to my knowledge).
|Tags||No tags attached.|