package ppx_pyformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val align_left : char -> int -> string -> string
val align_right : char -> int -> string -> string
val align_center : char -> int -> string -> string
type padding_config = char * int
type sign =
  1. | Plus
  2. | Minus
  3. | Space
type grouping_option =
  1. | Comma
  2. | Underscore
val int_to_binary : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping:bool -> int -> string
val int_to_char : int -> string

Only support ASCII at the moment

val int_to_decimal : ?padding:padding_config -> ?sign:sign -> ?grouping_option:grouping_option -> int -> string
val int_to_octal : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping:bool -> int -> string
val int_to_hexadecimal : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping:bool -> ?upper:bool -> int -> string
val float_to_scientific : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping_option:grouping_option -> ?precision:int -> ?upper:bool -> float -> string
val float_to_fixed_point : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping_option:grouping_option -> ?precision:int -> ?upper:bool -> float -> string
val float_to_general : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping_option:grouping_option -> ?precision:int -> ?upper:bool -> float -> string
val float_to_percentage : ?padding:padding_config -> ?sign:sign -> ?alternate_form:bool -> ?grouping_option:grouping_option -> ?precision:int -> ?upper:bool -> float -> string
OCaml

Innovation. Community. Security.