POV-Ray : Newsgroups : povray.text.scene-files : Roman numerals : Re: Roman numerals Server Time
21 Dec 2025 04:25:21 EST (-0500)
  Re: Roman numerals  
From: kurtz le pirate
Date: 20 Dec 2025 05:23:25
Message: <6946791d$1@news.povray.org>
On 20/12/2025 00:16, jr wrote:
> hi,
> 
> I wrote/"needed" a macro ('LatinYear()') to convert years to their Roman
> numerals representation, posting it .. just in case.  the macro takes the year
> and returns a string, for instance:
> 
> #version 3.8;
> global_settings {assumed_gamma 1}
> 
> #include "latinum.inc"
> 
> #debug concat("2000  ",LatinYear(2000),".\n")
> #debug concat("1984  ",LatinYear(1984),".\n")
> #debug concat("2026  ",LatinYear(2026),".\n")
> 
> 
> enjoy, jr.

Hi,

Good work, a little too complicated, but good work.





-- 
kurtz le pirate
compagnie de la banquise


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.