pub fn format_and_print(s: &str, options: &NumfmtOptions) -> Result<(), String>
Expand description

Format a line of text according to the selected options.

Given a line of text s, split the line into fields, transform and format any selected numeric fields, and print the result to stdout. Fields not selected for conversion are passed through unmodified.