Connecting Tech Pros Worldwide Help | Site Map

Identify Floating point data type

  #1  
Old August 24th, 2007, 01:55 PM
ArunDhaJ
Guest
 
Posts: n/a
Hi Friends,
I am using a Number field which stored Floating point values...
For example:
Field Name: Salary
Field Data Type: Number
Field Size: Decimal
Decimal place: 2

I need to get the data type of this field as Floating point or else as
Decimal programmatically(in C or C++)...
How could we achieve this...

Thanks in Advance,
ArunDhaJ

  #2  
Old August 24th, 2007, 02:45 PM
Tom van Stiphout
Guest
 
Posts: n/a

re: Identify Floating point data type


On Fri, 24 Aug 2007 12:45:17 -0000, ArunDhaJ <arundhaj@gmail.com>
wrote:

You should be using the Currency data type to store monetary values.
-Tom.

Quote:
>Hi Friends,
>I am using a Number field which stored Floating point values...
>For example:
>Field Name: Salary
>Field Data Type: Number
>Field Size: Decimal
>Decimal place: 2
>
>I need to get the data type of this field as Floating point or else as
>Decimal programmatically(in C or C++)...
>How could we achieve this...
>
>Thanks in Advance,
>ArunDhaJ
  #3  
Old August 24th, 2007, 03:05 PM
ArunDhaJ
Guest
 
Posts: n/a

re: Identify Floating point data type


On Aug 24, 6:40 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
Quote:
On Fri, 24 Aug 2007 12:45:17 -0000, ArunDhaJ <arund...@gmail.com>
wrote:
>
You should be using the Currency data type to store monetary values.
-Tom.
>
>
>
Quote:
Hi Friends,
I am using a Number field which stored Floating point values...
For example:
Field Name: Salary
Field Data Type: Number
Field Size: Decimal
Decimal place: 2
>
Quote:
I need to get the data type of this field as Floating point or else as
Decimal programmatically(in C or C++)...
How could we achieve this...
>
Quote:
Thanks in Advance,
ArunDhaJ- Hide quoted text -
>
- Show quoted text -
Actually i told that Field name as Salary as an example...
but i need to do these operation for a floating point field.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
indentify if argument is char or float yaniv.dg@gmail.com answers 34 August 8th, 2006 05:45 PM
Is C99 the final C? Michael B. answers 193 November 14th, 2005 04:46 PM
getters and setters kelvSYC answers 32 July 23rd, 2005 06:23 AM
Identify and perform actions to data within stated limits dasacc@gmail.com answers 9 July 18th, 2005 11:13 PM