C Family: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→C#) |
||
Line 3: | Line 3: | ||
Format digits in strings | Format digits in strings | ||
<pre> | <pre> | ||
GameObject.Find("Rate").GetComponent<TMP_Text>().text = $"{winCount/trialCount:#0.0} % | GameObject.Find("Rate").GetComponent<TMP_Text>().text = $"{winCount/trialCount:#0.0} %"; | ||
</pre> | </pre> | ||
=C links= | =C links= |
Revision as of 16:33, 11 March 2023
C#
Format digits in strings
GameObject.Find("Rate").GetComponent<TMP_Text>().text = $"{winCount/trialCount:#0.0} %";
C links
- http://openbook.galileocomputing.de/c_von_a_bis_z/
- http://openbook.galileo-press.de/linux_unix_programmierung
- http://www.j3l7h.de/videos.html // generelle IT und Mathe Videos!!
- http://www2.hs-fulda.de/~klingebiel/c-vorlesung
- Nanosleep by Example