View Single Post
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