mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-10-05 19:18:01 +08:00
13 lines
220 B
Plaintext
13 lines
220 B
Plaintext
<!--#sse:10
|
|
static double price = 1.2;
|
|
|
|
if (UServer_Base::isSSEStarted())
|
|
{
|
|
price = price + (double)rand() / RAND_MAX * 2.0 - 1;
|
|
|
|
if (price <= 0.01) price = 0.01;
|
|
}
|
|
|
|
sse_data = UStringExt::numberToString(price);
|
|
-->
|