forked from GitHub/gf-rgl
floating point numerals
This commit is contained in:
@@ -176,6 +176,10 @@ concrete NounTur of Noun = CatTur ** open ResTur, SuffixTur, HarmonyTur, Prelude
|
||||
s = n.s ! NCard ; n = n.n
|
||||
} ;
|
||||
|
||||
NumFloat n1 n2 = {
|
||||
s = \\n,c => n1.s ! NCard ! Sg ! Nom ++ BIND ++ "." ++ BIND ++ n2.s ! NCard ! n ! c ; n = Pl
|
||||
} ;
|
||||
|
||||
OrdNumeralSuperl n a = {
|
||||
s = \\num,cs => (n.s ! NOrd ! Sg ! cs) ++ a.s ! Sg ! cs
|
||||
} ;
|
||||
|
||||
Reference in New Issue
Block a user