ZURINET
asked on
Convert ASP to C#
Hi all
I need to convert the code below to C#
BProdukt = right("0000000000"+cstr(Fo rmatNumber (preisupda te("FFakto rProdukt") ,9,,,0)),1 9)
Thanks in Advance
I need to convert the code below to C#
BProdukt = right("0000000000"+cstr(Fo
Thanks in Advance
ASKER
Hi Anton..
BProdukt = right("0000000000 "+cstr(FormatNumber(100.5, 9,,,0)),19 )
It looks better now..
Back to your question.. the Preisupdate is just a function.. but it not relevant..
The query above is okay.. if you can convert it
BProdukt = right("0000000000 "+cstr(FormatNumber(100.5,
It looks better now..
Back to your question.. the Preisupdate is just a function.. but it not relevant..
The query above is okay.. if you can convert it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Anton
Thanks for your input .. I have just modified your code
private string GetBProdukt (string anyValue)
{
Decimal value;
if (Decimal.TryParse(preisupd ate(anyVal ue), out value))
{
return value.ToString("000000000. 000000000" ));
}
return null;
}
Thanks for your input .. I have just modified your code
private string GetBProdukt (string anyValue)
{
Decimal value;
if (Decimal.TryParse(preisupd
{
return value.ToString("000000000.
}
return null;
}
Welcome :)
Could you please say me, does the preisupdate is a function withing return type string?