SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWDecimalFormatScope Class Reference

Encapsulates decimal format specifiers. More...

#include <rw/decio.h>

Inheritance diagram for RWDecimalFormatScope:
RWDecimalFormat

Public Types

enum  Justification { LEFT , CENTER , RIGHT }
 
enum  Sign { POSITIVE , NEGATIVE , BOTH }
 

Detailed Description

RWDecimalFormatScope encapsulates decimal format specifiers.

Member Enumeration Documentation

◆ Justification

How to justify the number in the width provided

Enumerator
LEFT 

Use left justification.

CENTER 

Use center justification.

RIGHT 

Use right justification.

◆ Sign

The Sign enumeration is used to indicate which number formatting is being accessed.

Enumerator
POSITIVE 

attribute value for formatting positive numbers

NEGATIVE 

attribute value for formatting negative numbers

BOTH 

attribute values for formatting positive and negative values

Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.