|
-
Jul 7th, 2023, 09:09 AM
#7
Re: Shifting in String Format (With built in functions)
 Originally Posted by pourkascheff
Hi all,
Consider a third party control to mimicking a progressbar with percentage. It has a FormatString in its properties which follows these type of custom numeric format strings provided by Microsoft.
How can I perform a decimal placement shifting to left (like diving per 10) not in a program way, on once done in properties in designing mode. i.e. for " 271" (Bar maximum is 1000) the string " 27.1%" is expected.
What I've tried:
Exponential (scientific notation) was only tested but I have no idea how to get rid of 'e' or 'E' in string.
I would expect the control to handle that itself... if the max is 1000 and the value is 271... and the format is "%" i'd expect it to display "27.1%" or "27%" automatically ... especially if it's using the value ... other wise it would need an additional property to track the displayValue ...
-tg
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|