get attribute value that is a integer or a unitless number

I've tried variations on the syntax of getstringattribute to retrieve an attribute of the "number" and "unitless" types. What's the proper syntax? The alternative is setting the value to a string going forward... would rather not go that route though. Thanks.

If you are using NX 7.5, try the functions: GetIntegerAttribute or GetRealAttribute.

If you are using NX 8 or later, try the functions: GetIntegerUserAttribute, GetRealUserAttribute, or GetUserAttribute. Also, you can check for the existence of an attribute with the function HasUserAttribute.