1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/sse_example/get_ticker.usp
2018-01-06 18:14:58 +01:00

13 lines
206 B
Plaintext

<!--#sse:10
static double price = 1.2;
if (U_SRV_SSE_CNT1)
{
price = price + (double)rand() / RAND_MAX * 2.0 - 1;
if (price <= 0.01) price = 0.01;
}
sse_data = UStringExt::numberToString(price);
-->