Skip to main content

encode_edited_numeric

Function encode_edited_numeric 

Source
pub fn encode_edited_numeric(
    value: &str,
    pattern: &[PicToken],
    scale: u16,
    _blank_when_zero: bool,
) -> Result<String>
Expand description

Encode a numeric value to an edited PIC string

ยงErrors

Returns error if the value cannot be encoded to the pattern