package ordinal_abbreviation
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  A minimal library for generating ordinal names of integers.
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.17.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=f90a986b1b6cbf575108049cf34c75ecc1b8f7291732c6406a9934915f89d28d
    
    
  doc/ordinal_abbreviation/Ordinal_abbreviation/index.html
Module Ordinal_abbreviationSource
Conversions for Int
include S with type integer := Base.int
Produces an ordinal abbreviation string, e.g. to_string 13 = "13th", to_string 100002 = "100002nd", etc.
Produces an ordinal abbreviation string with delimiters every three digits, e.g. to_string 13 = "13th", to_string 100002 = "100_002nd", etc.
Produces the appropriate ordinal suffix to append to an integer, e.g. to_suffix 3 = "rd", to_suffix 100002 = "nd", etc.
Conversions for Other Built-in Integer Types
Conversions for Arbitrary Integer Types
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page