HowTo : Comma as decimal separator in VectorDraw for CommandAction
Article | 41023776 |
Type | HowTo |
Product | Engine |
Version | 5.0.1.1034Alpha |
Date Added | 11/9/2004 |
Submitted by | Sami 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.