Total Pageviews

Monday, April 21, 2014

physics.fromMKS()

Physics.fromMKS()
ការប្រើ Physics នេះសំរាប់ Convenience ហ្វាំងសិន សំរាប់បំលែងពី MKS units ទៅជា Corona units។​ Syntax: physics.fromMKS (unitName, value)
unitName(តំរូវការ) វាជា String ដែលអាចជ្រើសចេញមួយពីខាងក្រោមះ
“length”, “velocity”, “angularVelocity”
Value(តំរូវការ) វាជាចំនួនលេខ ដែលជាតំលៃក្នុងការបំលែង MKS ទៅកាន់ Corona Units

សូមមើលកូដះ
Local corona_unit = physics.fromMKS (“velocity”, 30)


No comments:

Post a Comment