tencent cloud

All product documents
Tencent Cloud Observability Platform
Last updated: 2025-03-11 19:41:08
uint64
Last updated: 2025-03-11 19:41:08
The uint64 built-in function is used to implement uint64 types.
uint64(v: string): object

Parameters

Parameter
Type
Description
v
string
The string format of uint64 type data.

Return

Type
Description
object
The returned objects, which have the following methods:
toString(), returns a string;
toJSON(), called when using JSON.stringify();

Samples

Use uint64:
export default function () {
let a = {
k: uint64("18446744073709551615")
}
// The toJSON() method is called when using JSON.stringify().
// {"k":"18446744073709551615"}
console.log(JSON.stringify(a));
// 18446744073709551615
console.log(a.k.toString());
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon