General information
Category:
Reports & Report designer
Environment versions
Network:
Windows 2008 Server
>>You have to specify the width and the decimal places when using STR(). Try this:
>>
>>? STR( SumBooked / SumQuantity * 100,5,2) +"%"
>>
>>
>>Regards
>>Kevin
>
>Good point,Kevin, but you don't need to. That is to be precise about how many sig figs, dec places etc. But an argumentless STR() returns a value OK.
Hi,
From Help:
If nLength isn't included, the length of the character string defaults to 10 characters.
If nDecimalPlaces isn't included, the number of decimal places defaults to zero.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only