🔒 Closed Type Cast/ Length of String Question

Status
Not open for further replies.
mga paps bakit kailangan i count ang length ng string at bakit kailangan na i convert and data type into another data type?
 
Gaya ng unang sagot, d mo pwede pang samahin ang mag kaibang uri, kaya cnconvert muna ( pero depende sa goal mo )

counting ng length naman, maraming gamit yan, madalas sa pag madalas sa querying meron kang mga data na for example 3 characters lng pero ung iba merong 5,10,15 etc.


kung gusto mo makuha ung mga record na may ganitong dami lng ng character pwede mo gamitin ung length count
 
Counting length depends on the use case. On the other hand, you need to convert data type from the other to achieve a value when a certain data type is not possible to be computed to get the value that you intend to compute. These two is a per use case scenario. It always depends on the output that you need. Programming an analytical task so finding a way to compute an output is necessary.
 
Status
Not open for further replies.

About this Thread

  • 3
    Replies
  • 309
    Views
  • 4
    Participants
Last reply from:
aa1012

Trending Topics

Online now

Members online
1,099
Guests online
963
Total visitors
2,062

Forum statistics

Threads
2,274,767
Posts
28,958,095
Members
1,233,424
Latest member
Hahdjajaban
Back
Top