Casting in Telerik Reports
Short post as I couldn’t find this documented anywhere. But if you need to cast a value inside the expression editor inside a Telerik Report then you can use the conversion functions
- CBool
- CDate
- CDbl
- CInt
- CStr
I used it to cast the denominator here to get a percentage complete:
I also used the Format function to format it as a percentage. I believe the Format string here is passed directly into .net’s string format function so anything that works there will work here.