[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #VLT-428101]: Passing in numbers as units strings has some odd effects



Jim,

> Fair enough.  We had this debate at the office, and I initially took
> your position here.  However, if I can't convert dimensionless units by
> offset as well it just feels weirdly incomplete.  I think it reduces the
> chances that someone would do this on purpose, and therefore it only
> serves as a trap for the unaware.
> 
> It may not be worth modifying your code over. I'm planning to modify
> mine to catch this case.

One could always use specifications like "address@hidden" or "1/10". They're 
well-defined and consistent with the dimensionless unit "1".

> Jim

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: VLT-428101
Department: Support UDUNITS
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.