On Mon, 14 Apr 2025 12:31:49 -0600, Jerry Hoemann wrote: > On Tue, Apr 08, 2025 at 04:11:45PM +0200, Jean Delvare wrote: > > On Thu, 2025-04-03 at 19:37 -0600, Jerry Hoemann wrote: > > > Format 18 should be in dollar/cents dotation. > > > > Typo in the subject, it's format 18, not 0x18. > > Fixed. Switched to decimal. > > My problem is that the spec defines all these format types in hex > and I for some reason made the switch case labels in decimal. So, > I keep making conversion mistakes. > > Would you mind if the next time I update this function that I send a > patch to convert all the case labels to hex to match the spec? > It would reduce these type of errors.
That would be completely fine. Whatever makes your work easier. You can even do it right now if you like. -- Jean Delvare SUSE L3 Support