write (*,'(F5.1,"%")') x*100.
char s[7];
sprintf(s, "%.2lf%%", x * 100);
auto s = std::format("{.1f}%", x * 100);
string percent = format("%.1f%%", x * 100.0);
var s = "${(x * 100).toStringAsFixed(1)}%";
s = "#{Float.round(x * 100, 1)}%"
s := fmt.Sprintf("%.1f%%", 100.0*x)
s = Numeric.showFFloat (Just 1) (100*x) "%"
const percentFormatter = new Intl.NumberFormat('en-US', {
style: 'percent',
maximumSignificantDigits: 3
});
const s = percentFormatter.format(x);
const s = Math.round (x * 1000) / 10 + '%'
NumberFormat f = getPercentInstance();
f.setMaximumFractionDigits(1);
f.setRoundingMode(HALF_UP);
String s = f.format(x);
String s = new DecimalFormat("0.0%").format(x);
String s = format("{0,number,0.0%}", x);
String s = "%.1f%%".formatted(x * 100);
local s = (x-x%10^-3)*100 .."%"
s = string.format("%.1f%%", x*100)
$s = number_format($x * 100.0, 1) . '%';
s :=format('%.1f%%', [100.0*x]);
my $s = sprintf '%.1f%%', $x * 100;
let s = format!("{:.1}%", 100.0 * x);