Raised This Month: $51 Target: $400
 12% 

Variable format specifier


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 10-10-2018 , 11:31   Variable format specifier
Reply With Quote #1

How could I get a format specifier to be different according to runtime variables?
My use case is showing a different time precision according to the server's tick interval (%.02f or %.03f) without having code duplication for the Format/FormatEx calls
__________________
retired
shavit is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode