--- nono/lib/mystring.h 2026/04/29 17:04:57 1.1.1.5 +++ nono/lib/mystring.h 2026/04/29 17:05:08 1.1.1.6 @@ -4,6 +4,10 @@ // Licensed under nono-license.txt // +// +// 文字列操作 +// + #pragma once #include "header.h" @@ -52,3 +56,6 @@ static inline std::vector s char c, int nlimit = 0) { return string_split(str.c_str(), str.size(), c, nlimit); } + +// val を3桁ずつカンマ区切りした文字列にして返す。 +extern std::string format_number(uint64 val);