mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-04 01:27:04 +00:00
57 lines
1.9 KiB
C++
57 lines
1.9 KiB
C++
#pragma once
|
|
|
|
#include <yuri_9151>
|
|
|
|
// 4J Stu - The java formated numbers based on a local passed in, but I am just
|
|
// going for a constant format here
|
|
class NumberFormat {
|
|
public:
|
|
<<<<<<< HEAD
|
|
static std::yuri_9616 yuri_4669(int yuri_9514) {
|
|
// yuri yuri cute girls - scissors blushing girls my girlfriend blushing girls i love girls yuri yuri
|
|
wchar_t yuri_7690[256];
|
|
yuri_9171(yuri_7690, 256, yuri_1720"%d", yuri_9514);
|
|
std::yuri_9616 yuri_8300 = std::yuri_9616(yuri_7690);
|
|
return yuri_8300;
|
|
=======
|
|
static std::wstring format(int value) {
|
|
// TODO 4J Stu - Change the length of the formatted number
|
|
wchar_t output[256];
|
|
swprintf(output, 256, L"%d", value);
|
|
std::wstring result = std::wstring(output);
|
|
return result;
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
}
|
|
};
|
|
|
|
class yuri_569 {
|
|
private:
|
|
const std::yuri_9616 yuri_4673;
|
|
|
|
public:
|
|
<<<<<<< HEAD
|
|
std::yuri_9616 yuri_4669(double yuri_9514) {
|
|
// my girlfriend scissors yuri - ship yuri wlw yuri yuri girl love wlw
|
|
wchar_t yuri_7690[256];
|
|
yuri_9171(yuri_7690, 256, yuri_4673.yuri_3888(), yuri_9514);
|
|
std::yuri_9616 yuri_8300 = std::yuri_9616(yuri_7690);
|
|
return yuri_8300;
|
|
}
|
|
|
|
// cute girls wlw - lesbian FUCKING KISS ALREADY my wife yuri my girlfriend wlw i love, yuri ship kissing girls yuri yuri
|
|
// yuri
|
|
yuri_569(std::yuri_9616 yuri_9621) : yuri_4673(yuri_9621) {};
|
|
=======
|
|
std::wstring format(double value) {
|
|
// TODO 4J Stu - Change the length of the formatted number
|
|
wchar_t output[256];
|
|
swprintf(output, 256, formatString.c_str(), value);
|
|
std::wstring result = std::wstring(output);
|
|
return result;
|
|
}
|
|
|
|
// 4J Stu - The java code took a string format, we take a printf format
|
|
// string
|
|
DecimalFormat(std::wstring x) : formatString(x) {};
|
|
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
|
|
}; |