470,626 Members | 2,139 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,626 developers. It's quick & easy.

Forcing Crystal Reports formula field to be float

I've created a formula field called "BaseField" in a crystal report in VS
2003. At run time, I dynamically change the formula depending which field
the user selects to view

for example

FieldName = "{@DistanceKm}";
rpt.DataDefinition.FormulaFields["BaseField"].Text = FieldName;

At run time, even though I've set decimal places to 2 in the property editor
for BaseField, this field is showing the integer truncated value with ".00"
tacked onto the end of the string
How do I force this field to show itself as a float please?

thanks
Mar 28 '07 #1
0 2016

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Stephan | last post: by
reply views Thread by Matt Fuerst | last post: by
3 posts views Thread by chrispycrunch | last post: by
reply views Thread by Zoury | last post: by
3 posts views Thread by Brad | last post: by
3 posts views Thread by Tmuld | last post: by
6 posts views Thread by G. Stoynev | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.