Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2016 : Report Design
Message Icon Topic: Converting values to percentage Post Reply Post New Topic
Author Message
shabbaranks
Groupie
Groupie


Joined: 06 Oct 2013
Location: United Kingdom
Online Status: Offline
Posts: 64
Quote shabbaranks Replybullet Topic: Converting values to percentage
    Posted: 05 Jul 2018 at 4:24am
Hi,
I've managed to get a value of a margin as a cost into ColumnC

so "ColumnA SalesVal" - "ColumnB Cost" = "ColumnC Profit"

But when I try and convert the Profit to a percentage

ColumnC Profit \ ColumnB Costs * 100

I get 0.

Any ideas? Thanks

IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1436
Quote kevlray Replybullet Posted: 05 Jul 2018 at 9:14am
Wrong slash, that slash (\) gives the modulo.
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.032 seconds.