Fields are limited to character strings.  If you need do a calculation,
based upon the contents of a field, you will need to convert the string to a
float.

Other than writing your own routines to do this, you may want to start with
the PalmOS function FplAToF

  http://www.palmos.com/dev/tech/docs/palmos/FloatManager.html#924930


Paul...

----- Original Message -----
From: "Farzin Ashraghi" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, July 03, 2000 10:36 AM
Subject: Numeric fields


> Friends:
>
> One component of my application consist on a form where the user
> insert two numbers in two fields and then the program display a
> mathematical operation betwen them in a third field.  The problem
> is that I cannot change the "char" type of the fields to "float" type in
> order to perform the operation.  I tried casting and then using the
> float manager, but I cannot do it.
>
> Could you help me please?
>
> Thank you,
> Farzin
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to