Connecting Tech Pros Worldwide Help | Site Map

Identify Floating point data type

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 24th, 2007, 12:55 PM
ArunDhaJ
Guest
 
Posts: n/a
Default Identify Floating point data type

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, 01:45 PM
Tom van Stiphout
Guest
 
Posts: n/a
Default 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, 02:05 PM
ArunDhaJ
Guest
 
Posts: n/a
Default 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.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.