Search Issue Tracker

Won't Fix

Votes

0

Found in

4.1.0b2

Issue ID

528613

Regression

No

Converting integer to string with padded zeroes doesn't work on Flash

Flash

-

1 Create new project and create script(.cs)
2 Add method
private int counter = 0;
void OnGUI() {
counter++;
string str = counter.ToString( "0000" );

GUI.Box( new Rect( 0, 0, Screen.width, 100 ), str );

}

3 Build for Flash.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.