Convert string to Int or double
Convert string to Int or double
Hi
I want to convert a string into Int in Text Editor but I don't know how?
In my report I want to div to value of Text component but I can't do this.
Plz help me.
tanx
I want to convert a string into Int in Text Editor but I don't know how?
In my report I want to div to value of Text component but I can't do this.
Plz help me.
tanx
Convert string to Int or double
Tanx Jan
But I use the following code in Text17 in my report
but when run my report this error occuerd:
if is it true that convert this code to string?(how convert to string?)
PLZ help me!
But I use the following code in Text17 in my report
Code: Select all
{Div(double.Parse(Text15.Text),double.Parse(Text18.Text))}
how can I solve this problem?Expression in Text property of 'Text17' can't be evaluated!
if is it true that convert this code to string?(how convert to string?)
PLZ help me!
Convert string to Int or double
Hello,
If Text15 contain expression {yourDataSource.Field1} and Text18 contain expression {yourDataSource.Field2},
then please write in Text17 following expression:
Thank you.
Best way to solve this issue:atryass wrote:But I use the following code in Text17 in my reportbut when run my report this error occuerd: ...Code: Select all
{Div(double.Parse(Text15.Text),double.Parse(Text18.Text))}
If Text15 contain expression {yourDataSource.Field1} and Text18 contain expression {yourDataSource.Field2},
then please write in Text17 following expression:
Code: Select all
{Div(yourDataSource.Field1, yourDataSource.Field2)}
Convert string to Int or double
Hi
tanx Ivan
but my Text17 is a sum of column in a group!and it is not a field from my data source.
How can solve this problem?
tanx Ivan
but my Text17 is a sum of column in a group!and it is not a field from my data source.
Code: Select all
{Sum(GroupHeaderBand1,vTimeSheetPlan.ActualWork_Hour)}
Convert string to Int or double
Hello,
then please write in Text17 following expression:
Thank you.
If Text15 contain expression {Sum(GroupHeaderBand1,vTimeSheetPlan.ActualWork_Hour)} and Text18 contain expression {yourDataSource.Field2},atryass wrote:but my Text17 is a sum of column in a group!and it is not a field from my data source.How can solve this problem?Code: Select all
{Sum(GroupHeaderBand1,vTimeSheetPlan.ActualWork_Hour)}
then please write in Text17 following expression:
Code: Select all
{Div(Sum(GroupHeaderBand1,vTimeSheetPlan.ActualWork_Hour), yourDataSource.Field2)}
text having more than 10 dogits is not displaying
I have a text field, from json iam binding a number to that field, it is displaying if number has 10 digits but if number has more than 10 digits the text field is not displaying. iam using 2021.2.2 version.
In 2019 version it is working properly
In 2019 version it is working properly
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Convert string to Int or double
Hello,
Please send us a sample report with test data that reproduces the issue for analysis on support@stimulsoft.com
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis on support@stimulsoft.com
Thank you.