View Issue Details

IDProjectCategoryView StatusLast Update
0006129JEDI VCL00 JVCL Componentspublic2014-09-03 11:45
ReporteralquimistaAssigned Toobones 
Status resolvedResolutionno change required 
Product Version3.47 
Target VersionFixed in Version 
Summary0006129: JvInterpreter evaluated differently using the GetValue method with point numbers
Description  i'm using decimalseparator:='.'; in delphi 2007.
  In synedit editor write 4.5*2. Evaluation is OK =9
  JvInterpreterProgram1.Source := SynEdit1.Linetext; //

using StringGrid add a variable "A" with value 4.5.
in the GetValue method fill value 'A' with the value '4.5'
      if Cmp(Identifier,'A') then value:='4.5'; //point

  In synedit editor write A*2. Evaluation is bad =90

if I change the decimal point by the comma works fine.
  if Cmp(Identifier,'A') then value:='4,5'; //comma

PS: Sorry for my bad English!!!
TagsNo tags attached.



2013-07-01 22:29

reporter   ~0020551



2013-07-01 23:23

reporter   ~0020552

not a bug.


2013-12-13 10:55

administrator   ~0020731

Please try with the latest JVCL version in GIT (or daily zip) and then send us a zipped file containing the sources of an application showing the issue.

Issue History

Date Modified Username Field Change
2013-04-15 21:10 alquimista New Issue
2013-07-01 22:29 alquimista Note Added: 0020551
2013-07-01 23:23 alquimista Note Added: 0020552
2013-12-13 10:55 obones Note Added: 0020731
2013-12-13 10:55 obones Status new => feedback
2014-09-03 11:45 obones Status feedback => resolved
2014-09-03 11:45 obones Resolution open => no change required
2014-09-03 11:45 obones Assigned To => obones