Product : Engine, Version : 5.0.1.1034Alpha, ArticleID : 41023776

HowTo : Comma as decimal separator in VectorDraw for CommandAction

Article41023776
TypeHowTo
ProductEngine
Version5.0.1.1034Alpha
Date Added11/9/2004
Submitted bySami Tainio
Keywords

Subject

Comma as decimal separator in VectorDraw for CommandAction

Summary

Is it possible for vectordraw to understand "," as decimal separator in commands?

Solution

This is not possible. The decimal separator in VectorDraw is "." (dot) and the x,y,z coordinates separator is "," (comma).

If you want to change that, then when the user writes a value in your  command prompt like "3,1415927" then filter this text, replace the "," with the "." and using the post command string pass the "3.1415927" to VectorDraw.