formatPercent


Description:

public static string formatPercent (double d)

Formats ratio as percent text.

Parameters:

d

ratio (e.g. 0.25 = 25%).

Returns:

percent text.