How to convert decimal or float value to string in perl script for Satellite APIs ?

Solution Unverified - Updated -

Issue

  • The system.setCustomValues method accepts value parameter in string format, how to convert decimal or float values to provide with this API,
Paramters:
    string sessionKey
    int serverId
    struct - Map of custom labels to custom values
        string "custom info label"
        string "value"

Environment

  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content