Exforsys

Online Training

Struck with Formatting

This is a discussion on Struck with Formatting within the C and C++ forums, part of the Programming Talk category; In my VC+ application I am struck with a small task. It is regarding the formatting of number. I have ...


Go Back   Exforsys > Programming Talk > C and C++

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-08-2007, 04:15 PM
Senior Member
 
Join Date: Apr 2006
Posts: 141
Adrian is on a distinguished road
Struck with Formatting

In my VC+ application I am struck with a small task. It is regarding the formatting of number. I have a number in a variable which is to be formatted. But the formatting must be based on the variable value. That is if the value of variable is 2 then I want to format to 2 decimals, if the value of variable is 3 then I want to format to 3 decimals and so on. Can someone provide me idea for achieving this in my application?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Struck with this Task Rahulbatra C and C++ 1 05-28-2007 03:12 AM
Struck Abstract with Abstract Class priyaraji C and C++ 2 05-01-2007 10:04 AM
hex data formatting subathira C and C++ 2 04-28-2006 08:10 PM
Oracle JDeveloper : New Jalopy Code Formatting Extension for JDeveloper 10g techguru Oracle JDeveloper 0 08-29-2005 09:11 AM


All times are GMT -4. The time now is 12:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.