[AGENT++] (no subject) Floating Point Values

Frank Fock fock at agentpp.com
Wed Aug 30 08:59:09 CEST 2006


Hi Dario,

If possible scale them to scalars and note the units
in the UNITS clause of the OBJECT-TYPE construct in
your MIB. If that is not feasible, I would recommend
coding the floating point into an OCTET STRING (with
appropriate DISPLAY-HINT). Others might prefer
using the Opaque type and BER encoding the float
(like NET-SNMP) but that approach is not widely used.

Best regards,
Frank

Dario maljur wrote:
> Hi.
> 
> Maybe this is stupid question, but how do I manage floating point values? 
> 
> Through strings?
> 
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list