OpenSiv3D  v0.6.5
C++20 framework for creative coding
FormatUtility.hpp File Reference
#include "Common.hpp"
#include "String.hpp"
#include "Format.hpp"
#include "PredefinedYesNo.hpp"
#include "detail/FormatUtility.ipp"

Namespaces

 s3d
 

Functions

template<class Type >
String s3d::Pad (const Type &value, std::pair< int32, char32 > padding)
 値を文字列に変換し、指定した文字数に満たない場合は埋め文字で埋めます。 More...
 
String s3d::FormatDataSize (int64 bytes)
 
SIV3D_CONCEPT_INTEGRAL String s3d::ThousandsSeparate (Int value, StringView separator=U","_sv)
 桁区切り記号を含めて、数値を文字列に変換した結果を返します。 More...
 
SIV3D_CONCEPT_FLOATING_POINT_ String s3d::ThousandsSeparate (Float value, int32 decimalPlace=3, Fixed fixed=Fixed::No, StringView separator=U","_sv)
 桁区切り記号を含めて、数値を文字列に変換した結果を返します。 More...
 
String s3d::PercentEncode (StringView s)
 文字列をパーセントエンコーディングした結果を返します。 More...