SourcePro® API Reference Guide

 
List of all members | Public Types
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

How to justify the number in the width provided

Enumerator
LEFT 

Use left justification.

CENTER 

Use center justification.

RIGHT 

Use right justification.

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 © 2022 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.