This is a migrated thread and some comments may be shown as answers.

Remainder Function not working with double type

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tahir
Top achievements
Rank 1
Tahir asked on 22 Feb 2013, 10:44 AM
Hi,

I am using Telerik Reporting Q3 2012. I am trying to take the remainder value of double type variable. But it gives an error of type mismatch. If I convert double type to Integer then it works.

= Format("00", Fields.FT / 60) + ' : ' + Format("00", CInt( Fields.FT) Mod 60)

I want to use this as 

= Format("00", Fields.FT / 60) + ' : ' + Format("00", Fields.FT Mod 60)

How can I implement this formula.

Regards,

Tahir Khan


1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Feb 2013, 03:50 PM
Hello Tahir,

Currently the Mod operator is working only with integer types. However we have logged this limitation in our bug/feature tracking system and we will introduce a solution in subsequent internal build or release.

In the meantime our suggestion is to add an user function to handle the mod operations.

Kind regards,
Peter
the Telerik team

See what's new in Telerik Reporting Q1 2013. Register for the March 4 webinar to witness the impressive new visualizations in Telerik Reporting. Just for fun, 10 webinar attendees will be randomly selected to win a Telerik T-shirt and a $50 Gift Certificate to ThinkGeek. Register now! Seats are limited!

Tags
General Discussions
Asked by
Tahir
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or