SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
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 © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.