Skip to content

Commit

Permalink
Fix string format from %f to {}
Browse files Browse the repository at this point in the history
  • Loading branch information
mina-asham committed May 16, 2015
1 parent cdee8eb commit 09537e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algs4/algs4/KruskalMST.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public static void RunMain(string[] args)
{
StdOut.PrintLn(e);
}
StdOut.PrintF("%.5f\n", mst.Weight());
StdOut.PrintF("{0:0.00000}\n", mst.Weight());
}
}
}

0 comments on commit 09537e0

Please sign in to comment.