View Issue Details

IDProjectCategoryView StatusLast Update
0002675JEDI VCL00 JVCL Componentspublic2006-04-05 01:17
ReporterfoxyAssigned Toobones 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.30 
Summary0002675: Format function in JvInterpreter
DescriptionIf You'll try to execute in JvInterpreter the following code:

begin
 ShowMessage(Format('%.2f', [123.4]));
end;

You'll get an Access violation exception.
The problem is in procedure V2OA - incorrect processing of floating point variants.
I have included the solution in the attachment. (look for my comments);
TagsNo tags attached.

Relationships

has duplicate 0002134 closed JvInterpreter incorrectly treats float in Open Arrays (using floats in open array parameters leads to AV) 

Activities

2005-02-21 13:34

 

V2OA.pas (3,617 bytes)

obones

2005-02-25 05:19

administrator   ~0006578

Which version of the JVCL are you using ?

foxy

2005-02-25 08:12

reporter   ~0006586

I'm using JVCL 3.00 RC 1

obones

2006-03-30 05:10

administrator   ~0008749

Thanks, this is now confirmed as a working solution
It will be in CVS and marked fixed as soon as SourceForge fixes the CVS issues.

obones

2006-04-05 01:17

administrator   ~0008923

This is now in CVS

Issue History

Date Modified Username Field Change
2005-02-21 13:34 foxy New Issue
2005-02-21 13:34 foxy File Added: V2OA.pas
2005-02-25 05:19 obones Note Added: 0006578
2005-02-25 05:19 obones Status new => feedback
2005-02-25 08:12 foxy Note Added: 0006586
2006-03-30 05:10 obones Note Added: 0008749
2006-03-30 05:10 obones Status feedback => confirmed
2006-04-03 00:53 obones Relationship added has duplicate 0002134
2006-04-05 01:17 obones Status confirmed => resolved
2006-04-05 01:17 obones Resolution open => fixed
2006-04-05 01:17 obones Assigned To => obones
2006-04-05 01:17 obones Note Added: 0008923