Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Number Format within Formula Post Reply Post New Topic
Author Message
roxaneamanda
Newbie
Newbie


Joined: 10 Aug 2009
Location: United Kingdom
Online Status: Offline
Posts: 23
Quote roxaneamanda Replybullet Topic: Number Format within Formula
    Posted: 12 Feb 2010 at 6:16am
I have the following formula;
 
{tablename.numericfield} & " " & {table name.stringfield}
 
The numeric field is displayed as 1234.00 for example, I want to format the numeric field to 1234 (no decimals) within this formula, can anyone tell me how to do that?
 
Thanks


Edited by roxaneamanda - 12 Feb 2010 at 6:24am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 12 Feb 2010 at 8:04am
totext({tablename.numericfield},0,"") + " " + {table name.stringfield}

Edited by DBlank - 12 Feb 2010 at 8:04am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.