vb.net - programing ranging data -


i have 2 inputs 0-180 x , y need add them , stay in range of 180 , 0 having trouble since 90 mid point cant seem keep data in range im doing in vb.net need logic

result = (x + y) / 2 

perhaps? @ least stay in 0-180 range. there other constraints you're not telling about, since right seems pretty obvious.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -