String To Int

Convert
Both Server and Client
Both Mobile and PC

Convert the specified string to an integer

Declaration

func StringToInt(target string, out var result int, out var isSuccess bool)
go

Parameters

Input

Name Type Description
Target String Target string

Out

Name Type Description
Result Int Result integer
Is Success Bool Is the conversion successful?