On 11/13/2013 11:00 AM, Mang, Sarah wrote:

Dear all,

I am trying to pass a parameter to my command line tool with the value 2e-9 but the GUI does not support values this small and sets the value to zero. Any ideas how to avoid this?

Cheers,

Sarah

Hi Sarah,

what UI widget is it? SpinBox, TextEdit, ...?

The min and max values, if not specified via http://www.commontk.org/docs/html/ctkCmdLineModule.xsd#type_constraintsType should be the natural limits of the parameter type.

However I do not know how a specific UI widget parses floating point numbers from a representation like 2e-9.

Best,
Sascha
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to