Best Math Formula website. Search anything about Math Formula in this website.
how to convert number to text in crystal report formula. Its mostly used for concatenation for example you can create a title for your report that shows the records covered or a group name that shows the date. This code show how to use toText to display the number as 1000.
Crystal Reports How to convert text date to datetime format Tuesday 10 July 2018 by Adrian Gordon. For instance if the string is 2 toNumber val both make it 200 which cannot be used as an index to the array. The Experts Guide to Crystal Reports Formulas and Expert Techniques for Crystal Reports volumes 1 - 4.
In the Formula Editor use the function IsNumeric as well as isNull before converting the text to a number.
Say your database field is databaseYearAsString. The following code shows how to convert a number to text in a Crystal Reports formula whilst also removing all formatting. In Crystal Reports designer go to the design tab of the report and edit the formula field that convert the text to number. If you want to bold italic or under-line a text then you can use Html support in crystal report.