get_textValue()
Returns the string of the number that the widget is currently set to.
Example-Get valuetext example - return the value of the widget as a string.
findControl(".CrmRatingField_C013").get_textValue();
set_textValue()
Sets the widget to a specified string value, which will be converted to an integer.
Example-Set text value example - set the rating field widget to the provided string.
findControl(".CrmRatingField_C013").set_textValue("3");