The containing class is available as SQL\ScalarFormat in the www repository.
SQL\ScalarFormat
public function format_f( ?float $s, ): string;
?float $s
string