OnSetText
text = FormatNumber(text,0) the zero is the number of decimal places
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 05-14-2024 12:45
From: Lee Mann
Subject: Rounding Decimals with script or visual Logic
Thanks for the help!
------------------------------
Lee Mann
On Air Director
WAKA 8
Original Message:
Sent: 05-14-2024 12:33
From: Azathoth Son of Cthulhu
Subject: Rounding Decimals with script or visual Logic
VisualLogic
Math functions -> Round
------------------------------
Azathoth
Son of Cthulhu
Original Message:
Sent: 05-14-2024 12:25
From: Lee Mann
Subject: Rounding Decimals with script or visual Logic
Howdy folks!
I have a project that is reading information from a datalinq source. That data is a string of numbers in a decimal format, example 59.888721....
I want to display this information without the decimal, either by rounding or truncating the decimal. Any ideas on how to do this either with scripting or visual logic?
------------------------------
Lee Mann
On Air Director
WAKA 8
------------------------------